<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../src/ppslick.js"></script>
<!--    <script src="../release/ppslick-1.0.0.min.js"></script>-->
</head>
<script>
    window.onload = function () {
        let signup = PPSlick.createNormalSignup({closeOnSubmit:'true'});
        //为账号设置正则表达式校验
        // signup.setUserNameRegExp(/^[0-9]{11}$/)
        //为密码设置正则表达式校验
        // signup.setPasswordRegExp(/^[0-9]{11}$/)
        signup.onSubmit(function (userName,password) {
            console.log(`账号：${userName}`);
            console.log(`密码：${password}`);
        })

    }
</script>
<body>

</body>
</html>